home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1827 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: shellx.best.com!not-for-mail
  2. From: yogi@shellx.best.com (Yogi)
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
  4. Subject: Relative Speed of Perl vs. Tcl vs. C
  5. Date: 16 Jan 1996 20:42:59 -0800
  6. Organization: Best Internet Communications
  7. Message-ID: <4dhuoj$cbe@shellx.best.com>
  8. NNTP-Posting-Host: shellx.best.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. I don't want to start a religeous war, and YES, I did read the FAQ's,
  13. and did not find any info on relative speed of comparing C vs Perl vs Tcl
  14. vs Java in a very general sort of fashion. (I know specific features of each
  15. will vary...)
  16.  
  17. I'm very interested in the uses of Tcl and Perl, with regard to Tk and 
  18. other GUI toolkits (what other's are there?) 
  19.  
  20. Can't seem to find any info on statements I have read that seem to conflict:
  21.  
  22. Somewhere I have read that Perl coded grep runs as fast or faster than C
  23. coded grep in Unix. (Larry Wall wrote this, correct me if I'm wrong.)
  24.  
  25. And in a CGI-web book I read that Perl is an interpreted language that runs
  26. 10 times slower than C. But Perl is compiled, right? So how is that different
  27. than say, the Tcl interpreter? Is this just semantics? I would say that
  28. Perl is a run-time compiled language if I had to guess...
  29.  
  30. So what's the real answer, or are both statements true somehow? I know that
  31. Perl can run faster or slower depending on how you code it, (C too) and 
  32. so I guess you would have to find the fastest C code for a particular function
  33. and similar fastest Perl code (or Tcl) and compare THOSE programs to get 
  34. a definative answer.
  35.  
  36. And then, what about the speed of Java in comparison to the other 3?
  37.  
  38. Perl/Tcl/Java Newbie-
  39.  
  40.